package jdbc2;

public class user {
    private String admin;
    private String password;

    public user() {
    }

    public user(String admin, String password) {
        this.admin = admin;
        this.password = password;
    }

    /**
     * 获取
     * @return admin
     */
    public String getAdmin() {
        return admin;
    }

    /**
     * 设置
     * @param admin
     */
    public void setAdmin(String admin) {
        this.admin = admin;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    public String toString() {
        return "user{admin = " + admin + ", password = " + password + "}";
    }
}
